# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class PropertyTypeDefinition(object):

    def __init__(self, comment=None, documentation=None, duplicatesAllowed=None, itemType=None, primitiveItemType=None, primitiveType=None, required=None, type=None, updateType=None):
        """
        :param comment: (Optional) 注释
        :param documentation: (Optional) 说明文档地址
        :param duplicatesAllowed: (Optional) 如果 Type 字段的值为 List，则指示 CloudFormation 是否允许重复值。true将忽略重复值，false将对重复值报错
        :param itemType: (Optional) 如果 Type 字段的值为 List 或 Map，则指示列表或映射的类型 (如果它们包含非基元类型)
        :param primitiveItemType: (Optional) 如果 Type 字段的值为 List 或 Map，则指示列表或映射的类型 (如果它们包含基元类型)
        :param primitiveType: (Optional) 基元类型
        :param required: (Optional) 是否必填
        :param type: (Optional) 
        :param updateType: (Optional) 更新行为类别
        """

        self.comment = comment
        self.documentation = documentation
        self.duplicatesAllowed = duplicatesAllowed
        self.itemType = itemType
        self.primitiveItemType = primitiveItemType
        self.primitiveType = primitiveType
        self.required = required
        self.type = type
        self.updateType = updateType
